package com.hopes.bizz.close.gis.vo.hazard;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 预约审核数量VO
 * @time 2024/2/26 18:43
 */

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AuditCountChartVO extends AuditCountVO {

    private static final long serialVersionUID = -6177600965119420370L;

    /**
     * 下标
     */
    private String index;

    public AuditCountChartVO(String index) {
        this.index = index;
    }

    public AuditCountChartVO(String index, Integer notAudit, Integer passAudit, Integer unPassAudit) {
        super(notAudit, passAudit, unPassAudit);
        this.index = index.length() == 13 ? index + ":00" : index;
    }

}
